﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UpPic.aspx.cs" Inherits="CampanyCMS.UI.Admin.ProductsManager.UpPic" %>

<%@ Register assembly="COM.ZTE.TPG.App.UI.WebForm" namespace="COM.ZTE.TPG.App.UI.WebForm" tagprefix="cc1" %>

 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>ProductType</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<LINK href="../../css/cssCn.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<table cellSpacing="0" cellPadding="0" width="100%" border="0">
				<tr>
					<td><div class="div_subtitle">当前位置：产品管理<span class="arrow_subtitle">&gt;留言管理</span></div>
					</td>
				</tr>
			</table>
			<table align="center" cellPadding="0" cellSpacing="0" id="tb_content">
				<TBODY>
					<tr>
						<td>
							<TABLE class="tb_searchbar" cellSpacing="1" width="100%">
								<TBODY>
									<TR>
										<TD noWrap class="tb_input" style="HEIGHT: 23px"><img src="../../img/icon_note.gif" width="18" height="18" class="icon"></TD>
									</TR>
									<tr>
										<td align="left"><cc1:ztegrid id="dgNews" runat="server" Width="60%" 
                                                BorderStyle="Solid" PageCSS="scrollButton"
																		SortMode="Total" CacheData="ServerCach" AutoGenerateColumns="False" CellSpacing="1" BorderWidth="0px"
																		IsAllowPaging="True" PageLanguage="Chinese" PageChange="TextBox" CssClass="tb_datalist" 
                                                onitemcommand="dgNews_ItemCommand" onitemdatabound="dgNews_ItemDataBound">
																		<AlternatingItemStyle CssClass="tr_even" BackColor="#F7F9FE"></AlternatingItemStyle>
																		<FooterStyle BackColor="#E8E8E8"></FooterStyle>
																		<ItemStyle BorderColor="White" BackColor="White"></ItemStyle>
																		<Columns>
																			<asp:BoundColumn Visible="False" DataField="Seqno" HeaderText="id">
																				<HeaderStyle Width="5%"></HeaderStyle>
																			</asp:BoundColumn>
																			<asp:TemplateColumn>
																				<HeaderStyle Width="20%"></HeaderStyle>
																				<HeaderTemplate>
图片  
</HeaderTemplate>
																				<ItemTemplate>
																					<asp:Image height="100px" width="100px" id="img" runat="server"></asp:Image>
																				</ItemTemplate>
																			</asp:TemplateColumn>
																			<asp:BoundColumn DataField="FilePath" HeaderText="文件名">
																				<HeaderStyle Width="20%"></HeaderStyle>
																			</asp:BoundColumn>
																		 
																			<asp:TemplateColumn>
																				<HeaderStyle Width="10%"></HeaderStyle>
																				<HeaderTemplate>
操作 
</HeaderTemplate>
																				<ItemTemplate>
																					<asp:LinkButton id="lbtnDelete" CommandName="Delete" runat="server">删除</asp:LinkButton>
																				</ItemTemplate>
																			</asp:TemplateColumn>
																		</Columns>
																		<HeaderStyle CssClass="tr_title" BackColor="LightGray"></HeaderStyle>
																		<SelectedItemStyle CssClass="tr_selected" BackColor="#D8D8D8"></SelectedItemStyle>
																		<PagerStyle CssClass="tr_pagenumber"></PagerStyle>
																	</cc1:ztegrid></td>
									</tr>
									<tr>
										<td align="left"><INPUT id="UploadFile" type="file" name="UploadFile" runat="server"><FONT face="宋体"><asp:button 
                                                id="btnAdd" runat="server" Text="上传" CssClass="Button" onclick="btnAdd_Click"></asp:button>&nbsp;&nbsp;
                                            <asp:Button ID="bntCreate" runat="server" onclick="bntCreate_Click" 
                                                Text="生成滚动图片" Width="88px" />
                                            </FONT></td>
									</tr>
								</TBODY>
							</TABLE>
							<br>
						</td>
					</tr>
				</TBODY>
			</table>
		</form>
	</body>
</HTML>
